
inherits(ui.views.View);

function Menu() {
    var b = new ui.renderers.Button();
    b.setEnabledSource("activo");
    
    base(this, arguments)(ui.Nav, b,{onitemclick:"onclick"});
    
    var t = new ui.renderers.Text();
    t.setContentSource("name");
    this.addRenderer(t); 
    this.addRenderer(new ui.renderers.Div());
}